package com.oozol.lieluyun.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

public class Headers {
   @JsonProperty("Etag")
   private List<String> dockerContentDigest;

   public List<String> getDockerContentDigest() {
      return this.dockerContentDigest;
   }

   public void setDockerContentDigest(final List<String> dockerContentDigest) {
      this.dockerContentDigest = dockerContentDigest;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof Headers)) {
         return false;
      } else {
         Headers other = (Headers)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$dockerContentDigest = this.getDockerContentDigest();
            Object other$dockerContentDigest = other.getDockerContentDigest();
            if (this$dockerContentDigest == null) {
               if (other$dockerContentDigest != null) {
                  return false;
               }
            } else if (!this$dockerContentDigest.equals(other$dockerContentDigest)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof Headers;
   }

   public int hashCode() {
      int PRIME = 59;
      int result = 1;
      Object $dockerContentDigest = this.getDockerContentDigest();
      result = result * 59 + ($dockerContentDigest == null ? 43 : $dockerContentDigest.hashCode());
      return result;
   }

   public String toString() {
      return "Headers(dockerContentDigest=" + this.getDockerContentDigest() + ")";
   }
}
